package ejb;

import Entities.Externo;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless
public class ExternoFacade extends FacadeAbstracto<Externo> implements ExternoFacadeLocal {
    @PersistenceContext(unitName = "SGR-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public ExternoFacade() {
        super(Externo.class);
    }
    
}
